package com.finance.system.service;


import com.finance.system.bean.pojo.Region;
import com.finance.system.bean.pojo.RegionDetail;

import java.util.List;
import java.util.Map;


public interface IRegionCodeService {
    List<Region> listAll();

    List<Map> getProvinces();

    Region getByCode(String code);

    RegionDetail getDetailByCode(String code);

    Region getByName(String provinceName, String cityName, String countyName);

    String getCodeByName(String name);

    String getCodeByNameAndParent(String name,String parent);


    List<Region> provinceList();
}
